home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 7193 < prev    next >
Encoding:
Text File  |  1996-08-05  |  48.6 KB  |  1,221 lines

  1. Newsgroups: comp.dcom.fax,comp.dcom.modems,comp.answers,news.answers
  2. Path: yak.nstn.ns.ca!ecicrl!clewis
  3. From: steve@work.bellingham.wa.us (Steven Work)
  4. Subject: Mgetty+Sendfax with Vgetty Extensions (FAQ)
  5. Summary: Information about mgetty+sendfax, a Unix getty replacement
  6. Sender: clewis@ferret.ocunix.on.ca (Chris Lewis)
  7. Message-ID: <mgettyfaq_826208404@ferret.ocunix.on.ca>
  8. Supersedes: <mgettyfaq_824394005@ferret.ocunix.on.ca>
  9. Approved: news-answers-request@mit.edu
  10. Date: Thu, 7 Mar 1996 14:20:09 GMT
  11. Expires: Thu, 11 Apr 1996 14:20:04 GMT
  12. Reply-To: steve@work.bellingham.wa.us (Steven Work)
  13. Organization: eh?
  14. Keywords: class2 fax mgetty sendfax modem digifax
  15. Followup-To: poster
  16.  
  17. Archive-name: fax-faq/mgetty+sendfax+vgetty
  18. Last-modified: 24 September 1995
  19.  
  20.               ``mgetty+sendfax''
  21.         Answers to Frequently-Asked Questions
  22.        regarding Gert Doering's Fax-enabled getty replacement,
  23.        with Klaus Weidner and Marc Eberhard's voice extensions
  24.  
  25.                  Steven Work
  26.              steve@work.bellingham.wa.us
  27.  
  28. ------------------------------
  29.  
  30. Subject: Introduction
  31.  
  32. This document attempts to answer the most frequently asked questions
  33. about mgetty+sendfax/vgetty, Gert Doering's fax-enabled getty
  34. replacement with Klaus Weidner's and Marc Eberhard's voice processing
  35. extensions.
  36.  
  37. ------------------------------
  38.  
  39. Subject: Table of Contents
  40.  
  41. Part I: "Deciding whether to use it" questions
  42.  What is it?
  43.  What does it look like when it runs?
  44.  What do I need to use mgetty+sendfax/vgetty?
  45.  What other software do I need?
  46.  What terms cover my use of mgetty+sendfax/vgetty?
  47.  Where can I get mgetty+sendfax?
  48. Part 2: Other questions
  49.  How can I contact mgetty users and developers?
  50.  What image file formats can sendfax send?
  51.  Why doesn't mgetty accept other file formats besides G3?
  52.  Why doesn't mgetty use the modem's autoanswer capabilities?
  53.  Why mgetty ignores /dev/tty* dialin, /dev/cua* dialout conventions:
  54.  Troubleshooting questions & answers
  55.  My ZyXEL doesn't work right after a ROM upgrade: What's wrong?
  56. Part 3: Compatibility Issues
  57.  modems.db -- modem compatibility list
  58.  Suspicious fax machines
  59.  
  60. ---------------------------
  61.  
  62. Subject: Part I: "Deciding whether to use it" questions
  63.  
  64. ------------------------------
  65.  
  66. Subject:  What is it?
  67. From: steve@work.bellingham.wa.us (Steve Work)
  68.  
  69. Mgetty+sendfax is a collection of programs to send and receive faxes
  70. in a unix environment using a class 2.0 or 2 (they're different)
  71. faxmodem.  vgetty is an extension to mgetty, distributed with it, that
  72. implements incoming voice call handling for certain voice-capable
  73. modems, notably the ZyXEL.
  74.  
  75. More specifically, the program `mgetty' allows you to use a class 2.0
  76. or 2 fax modem for receiving faxes and handling external logins
  77. without interfering with outgoing calls.  `sendfax' is a standalone
  78. program which sends fax files.  `vgetty' is an extended version of
  79. mgetty that can answer the telephone like an answering machine and
  80. record a voice-mail message (if it finds one), or perform `mgetty's
  81. fax or data call handling otherwise.  The mgetty+sendfax distribution
  82. includes vgetty and a good-sized gob of utility programs that help you
  83. manage faxes and voice messages.
  84.  
  85. ------------------------------
  86.  
  87. Subject:  What does it look like when it runs?
  88. From: steve@work.bellingham.wa.us (Steven Work) and the distribution
  89. CC: clewis@ferret.ocunix.on.ca (Chris Lewis)
  90.  
  91. Like a smarter `getty'.  getty is the program that manages the
  92. first step of the login procedure on a Unix computer; when used
  93. with a modem, it watches for an incoming call and (ordinarily)
  94. prints the "login:" prompt (and reads the username, and passes off
  95. to "login").
  96.  
  97. Unlike traditional versions of getty or uugetty, which will put a
  98. modem into auto-answer mode, mgetty does not.  When an incoming call
  99. occurs, mgetty sees the "RING"s when they occur.  When they do occur,
  100. mgetty tells the modem to answer, and the modem will tell mgetty what
  101. kind of connection happens.  If it is FAX, mgetty will receive the
  102. FAX.  If data, mgetty prompts for a userid, then hands the open line
  103. off to login for a normal data login.
  104.  
  105. Note that it's the modem's job to distinguish a FAX call from a data
  106. call.  Not all fax modems can do this, and if yours _can't_ there is no way
  107. for mgetty to do this for it.  mgetty can be used with modems that
  108. cannot distinguish a fax call from a data call, but you must tell it
  109. ahead of time what type of call to expect.
  110.  
  111. mgetty is also configurable to select programs other than login for
  112. special connections (eg: uucico, fido or other programs) depending
  113. on the login userid.
  114.  
  115. mgetty also supports caller-id and can deny connections based on
  116. originating telephone number.
  117.  
  118. vgetty is an extension to mgetty that works with voice-capable
  119. modems to provide additional call-handling capabilities.  When the
  120. modem reports a RING, vgetty has the modem pick up the line and
  121. play a voice message (the greeting).  Then, as for mgetty, the
  122. modem reports the connection type.  If it hears "noises" it can't
  123. identify (like your mother's voice) it reports a voice connection
  124. and vgetty records the noise as an incoming voice message.  If the
  125. modem reports that it identifies a fax tone, vgetty acts like
  126. mgetty and receives a fax (or answers a poll).
  127.  
  128. If instead the modem hears nothing following the greeting (a
  129. certain level of silence that continues for a certain number of
  130. seconds) it assumes the caller is a data modem and attempts a data
  131. connection.
  132.  
  133. vgetty implements the normal answering-machine functions of
  134. remote message playback as well; its operation is driven from shell
  135. scripts, so you can extend it to a full voice-mail jail if you
  136. wish.  (This description of voice modem behavior applies to the
  137. ZyXELs; I [steve@work.bellingham.wa.us] assume other voice modems
  138. are similar.)
  139.  
  140. vgetty is intended for people who want to share a phone line for
  141. data and voice use, with the main focus being voice calls. It is
  142. *NOT* intended for a dialup system that occasionally gets a voice
  143. call, since some modems are confused by hearing a recorded voice
  144. message and won't connect.
  145.  
  146. Voice extensions were originally written by Klaus Weidner
  147. (klaus@snarc.greenie.muc.de) but are now maintained by Marc Eberhardt
  148. (marc@greenie.mud.de).  Direct questions about them to that address.
  149.  
  150. More from the distribution (some edits):
  151.  
  152. This is what you can do with `sendfax' if you have a standard class
  153. 2.0 or 2 fax modem:
  154.  
  155. * send faxes directly or using shell scripts (easily integrated into
  156.   other applications).
  157.  
  158. * do "fax polling", this means you can call the weather station and
  159.   get them to send you a fax containing the current weather map.
  160.   (Not all modem manufacturers implement this feature in their
  161.   modems!)
  162.  
  163. * create a "fax queue", outgoing faxes get sent automatically, the
  164.   user is informed by mail about the result.
  165.  
  166. `mgetty' allows you to use a single modem line for receiving calls
  167. and dialing out.
  168.  
  169. * `mgetty' knows about "smart" modems, and will make sure that the
  170.   modem is always in a defined state (specific modem initialization
  171.   possible)
  172.  
  173. * Incoming calls are answered manually (`RING' -> `ATA' ->
  174.   `CONNECT') instead of using auto-answer (`ATS0=1'), this way the
  175.   modem won't pick up the phone when the machine is down or logins
  176.   are not allowed.
  177.  
  178. * mgetty completely replaces getty and/or uugetty.  Like uugetty,
  179.   supports lock files in a fashion compatible with almost all known
  180.   versions of UUCP (HDB/BNU, SVR4, V7, Taylor in various flavours).
  181.   uugetty has some features mgetty doesn't support; see "How does
  182.   mgetty differ from uugetty?" below.
  183.  
  184. * mgetty supports System V style gettydefs terminal configurations.
  185.  
  186. * mgetty can receive class 2 faxes (if your modem supports it).
  187.  
  188. * mgetty knows about incoming FidoNet calls.
  189.  
  190. * mgetty has extensive logging / debugging features
  191.  
  192. * do "fax poll sending", that is, you can setup your machine as fax
  193.   poll server, to send some fax pages to "fax poll" callers. (Send
  194.   informations about your system, the current wheather map, ...). Be
  195.   warned, even less modems support this feature.
  196.  
  197. * mgetty can selectively refuse calls based upon CallerID, if your
  198.   modem supports it, and you're subscribed to the service. CallerID
  199.   is also logged.
  200.  
  201. * mgetty has facilities to allow you to refuse incoming FAXes when
  202.   available disk space is low.
  203.  
  204. vgetty inherits most of mgettys features, and offers some additional
  205. ones:
  206.  
  207. * behaves like a normal answering machine for human callers
  208.  
  209. * automatic fax reception when a T.30 calling tone is detected
  210.  
  211. * If the caller isn't a human or fax, a data connect is attempted,
  212.   if this is successful, the caller will get a normal login
  213.  
  214. * does not interfere with dialouts
  215.  
  216. * remote playback of messages via a DTMF code
  217.  
  218. * toll saver -- if there are new messages, pick up the phone
  219.   earlier, this way you can hang up in time to avoid a useless call
  220.  
  221. * message light - the autoanswer LED of your modem (if it has one)
  222.   is turned on if there are new messages
  223.  
  224. * easy playback - on some modems, you can play back the new messages
  225.   just by pressing DATA/VOICE
  226.  
  227. * speech synthesizer support - add the date and time to messages
  228.   (not included by default)
  229.  
  230. * voice conversion utilities - play messages on /dev/audio
  231.  
  232. ------------------------------
  233.  
  234. Subject:  What do I need to use mgetty+sendfax/vgetty?
  235. From: steve@work.bellingham.wa.us (Steve Work), and distribution
  236. CC: clewis@ferret.ocunix.on.ca (Chris Lewis)
  237.  
  238. Several things.  A computer running some (most) variants of the Unix
  239. operating system.  (The operating system must support termio.h or
  240. termios.h; this generally rules out "pure BSD" systems.)  For support
  241. of dial-in data connections (a la "getty"), you need a modem (probably
  242. one somewhat compatable with the H*yes "AT" command set).  For sending
  243. and receiving faxes, you need a modem that understands the Class 2 (or
  244. 2.0) fax command set.  For voice processing, you need a modem that is
  245. capable of doing voice.  
  246.  
  247. The ZyXEL family of modems is fully supported.  Full support should
  248. soon be available for modems that use the Rockwell chipset, like
  249. Dolphin and Zoom.  Until recently the voice data format used by these
  250. modems was considered proprietary by Rockwell; now that this
  251. information is publicly available development should proceed quickly.
  252. Right now vgetty can record and playback Rockwell-chip voice files
  253. through the Rockwell-based modem, but no manipulation or translation
  254. of these voice files is possible.  When support for the Rockwell voice
  255. file format is completed, you will be able to (for example) record and
  256. play voice messages through a PC sound board or the SUN /dev/audio
  257. device.  These capabilities exist for the ZyXEL modems already.
  258.  
  259. Mgetty has been successfully installed and run on at least the
  260. following systems, probably more by the time you read this list:
  261.  
  262.       SCO Unix 3.2.1 (ODT 1.0)                    (very well tested)
  263.       SCO Unix 3.2.4 (ODT 2.0 + 3.0)              (very well tested)
  264.       Linux 0.99pl1 .. 1.2                        (very well tested)
  265.       ISC Unix 3.0                                (tested)
  266.       SVR4 Unix                                   (well tested)
  267.       AT&T 3B1 3.51m                              (well tested)
  268.       HP-UX 8.x                                   (well tested)
  269.       AIX                                         (mgetty, not vgetty)
  270.       SunOS 4.1.1                                 (well tested)
  271.       NetBSD / FreeBSD                            (works)
  272.       BSDI v1.1                                   (under work, not done --
  273.                                                          greg@wwa.com)
  274.  
  275. It should be possible to run mgetty on any other Unix with
  276. `termio.h' or `termios.h'. For best results, `select(S)' or
  277. `poll(S)' are recommended, but there's a workaround. (Warning: for
  278. Unix SVR3.1 or earlier, *do not use poll()*, it will not work on
  279. tty devices.) 
  280.  
  281. Up to now, it has been successfully used with at least the following
  282. modems, and probably more:
  283.  
  284.       ZyXEL U1496
  285.     (very well tested.  With some ROM versions, one or another
  286.     function is not working.  ROM 6.12 works great)
  287.  
  288.       SupraFAX v32bis
  289.         (tested, works well, no fax polling available, no voice)
  290.   
  291.       GVC FM144/+
  292.       (tested, works well, no fax polling available, no voice)
  293.   
  294.       TKR DM-24VF+ (Deltafax)
  295.       (tested, works quite well, dunno about polling, no voice)
  296.  
  297. Mgetty *should* work with all class 2 faxmodems. Maybe the DC2
  298. character sent at the beginning of a page by `faxrec.c' must be
  299. changed to XON, for old class 2 modems (implementing very old drafts
  300. of the standard).  Unfortunately, each class 2 modem can be a tiny bit
  301. different.  
  302.  
  303. Early USR fax modems did a bad job of conforming to the Class 2.0 (and
  304. maybe Class 2) operating standards.  Reports are that current USR
  305. modems (Sportster and Courier) work without excuses.
  306.  
  307. The rest of this section is a list of some modems that might require
  308. extra efforts to make them work.  This list is out of date and will be
  309. revised soon; in particular, most of the mgetty settings it mentions
  310. are now specified in the mgetty.config file (not at compile time, as
  311. was the case in mgetty releases before about 0.22).  Also note that
  312. modem manufacturers fix their ROMs frequently, as problems are
  313. identified, so a modem that gave trouble a year ago might work fine
  314. with a newer ROM now.
  315.  
  316. Modem brand/model:     "Dynalink 9624AP"
  317. at+fmfr?        EXAR
  318. at+fmdl?        9648,2,E,290X
  319. at+frev?        10, 10, 92   REVISION  X 2.0
  320. ati3            ADN-06
  321. ati4            MARROW 2900KSX V2.0B 11-05-1992
  322. tested on:        linux 0.99p10
  323. working:        sendfax, mgetty(?)
  324. remarks: avoid this cheap and nasty modem if you possibly can. It needs:
  325.          delay(500) at the end of fax_open_device(), sendfax.c line 111
  326.          delay(500) after the call to fax_send_page(), sendfax.c line 533
  327.          "\d\d\d" in all the AT-commands in init_chat_seq, mgetty.c
  328. contributor:        a.j.scholl@durham.ac.uk
  329. #define DATA_FLOW    FLOW_HARD
  330. #define FAXREC_FLOW    FLOW_HARD | FLOW_SOFT
  331. #define FAXSEND_FLOW    FLOW_HARD 
  332. #define FAX_SEND_BAUD     B19200
  333. #define FAX_MODEM_HANDSHAKE ""
  334. #define FAX_SET_CSTOPB    1        /* for when you've added this option :-) */
  335. ----------------------------------------------------
  336. Modem brand/model:     "Zoltrix Platinum Series 14.4"
  337. at+fmfr?        ROCKWELL
  338. at+fmdl?        RC32ACL
  339. at+frev?        V1.410-AP39
  340. ati3            
  341. ati6            RCV144DP; Rev CA
  342. tested on:        linux 0.99p7
  343. working:        mgetty, sendfax
  344. remarks:                great modem! In my uucp network of 16 machines,
  345.             this modem averages at 1700 bps, while other
  346.             brand name modems such as the Trailblazer PEP
  347.             maxes out at about 1570. 
  348. contributor:        whome!light-house!las@planix.com
  349. #define DATA_FLOW    FLOW_HARD
  350. #define FAX_COMMAND_DELAY 50
  351. #define FAXREC_FLOW    FLOW_SOFT
  352. #define FAXSEND_FLOW    FLOW_SOFT
  353. #define FAX_SEND_BAUD B38400
  354. #define FAX_MODEM_HANDSHAKE "&K3"
  355. #define MODEM_INIT_STRING    "ATS0=0V1Q0&D3&K3%C1W1"
  356. ----------------------------------------------------
  357. Modem brand/model:      PCMCIA Modem HOTLINE 960 CC HL9672CC
  358. AT+FMFR?                HOTLINE
  359. AT+FMDL?                Handy 9672 CC
  360. AT+FREV?                Version 1.03H
  361. ATI3                    V1.03DP
  362. ATI4                    Handy 9672 CC H1_103
  363. AT+FDCC=?               (0,1),(0-3),(0-2),(0-2),(0,1),0,0,(0-7)
  364. tested on:              OS: Linux, Kernel: 1.0, Distribution: Slackware 1.2.0
  365.             Computer: Toshiba T4700C Notebook
  366. working:                sendfax, mgetty
  367. contributor:            lauther@zfe.siemens.de
  368. remarks:                can only do 9600 bps
  369.  
  370. #define DEFAULT_PORTSPEED       B19200
  371. #define MODEM_INIT_STRING       "ATS0=0Q0&D3&K3"
  372. #define MODEM_CMD_SUFFIX        "\r"
  373. #define DO_CHAT_SEND_DELAY      50
  374. #define FAX_COMMAND_DELAY       50
  375. #define DATA_FLOW               FLOW_HARD
  376. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  377. #define FAXSEND_FLOW            FLOW_HARD | FLOW_SOFT
  378. #define FAX_SEND_BAUD           B19200
  379. #define FAX_MODEM_HANDSHAKE     "&K3"
  380. ----------------------------------------------------
  381. Modem brand/model:      Creatix (1&1) Polimedia 14400 voice / fax modem
  382. AT+FMFR?                ???
  383. AT+FMDL?                ???
  384. AT+FREV?                ???
  385. ATI0            14400
  386. ATI1            007
  387. ATI3            V1.400/T4-DS29F
  388. ATI4            Creatix Polymedia GmbH V1.41 29/11/93
  389. ATI6            RCV144DPi Rev CA
  390. AT+FDCC=?               (0,1),(0-5),(0-2),(0-2),(0,1),0,0,(0-7)
  391. tested on:              ???
  392. working:                sendfax, mgetty
  393. contributor:            andreas@malcolm.in-chemnitz.de
  394.  
  395. #define DEFAULT_PORTSPEED    B38400
  396. #define MODEM_INIT_STRING    "ATS0=0Q0&D3&K6"
  397. #define MODEM_CMD_SUFFIX    "\r"
  398. #define DO_CHAT_SEND_DELAY    50
  399. #define FAX_COMMAND_DELAY    50
  400. #define DATA_FLOW           FLOW_HARD
  401. #define FAXREC_FLOW         FLOW_HARD | FLOW_SOFT
  402. #define FAXSEND_FLOW        FLOW_HARD | FLOW_SOFT
  403. #define FAX_RECEIVE_USE_B19200
  404. #define FAX_SEND_BAUD         B19200
  405. #define FAX_MODEM_HANDSHAKE    "&K6"
  406. ----------------------------------------------------
  407.  
  408. ------------------------------
  409.  
  410. Subject:  What other software do I need?
  411. From: clewis@ferret.ocunix.on.ca (Chris Lewis)
  412. CC: gert@greenie.muc.de (Gert Doering)
  413.  
  414. For data only, no other software is needed.
  415.  
  416. mgetty itself can only send or receive G3 (raster) format.  However,
  417. the distribution includes tools to convert raw G3 files to or from the
  418. format used by "pbmplus", the Portable Bitmap Toolkit.  The pbmplus
  419. formats support (or are supported by) most raster-image programs and
  420. file formats generally used in the Unix world.  pbmplus is available
  421. at this URL (among others): 
  422.  
  423.   ftp://sunsite.unc.edu/pub/X11/contrib/pbmplus10dec91.tar
  424.  
  425. The mgetty+sendfax distribution contains a patch to fix pbmplus's
  426. broken pbmtog3 converter -- using the unpatched pbmtog3 can cause
  427. errors during transmission.
  428.  
  429. GhostScript, the free Postscript page description language
  430. interpreter, can convert PostScript to G3.  Ghostscript is available
  431. at this URL (among others): 
  432.  
  433.   ftp://sunsite.unc.edu/pub/gnu/applications/ghostscript-2.6.1.tar.gz
  434.      (also check out patch files in same directory.)
  435.  
  436. Hp2pbm, available from ftp:// ??, can convert text and PCL (HP
  437. Laserjet language) to G3 or PBM.  It also contains programs for
  438. converting PBM to PostScript, PCL and Epson printers.
  439.  
  440. PBMPLUS has converters from most existing raster formats or ASCII
  441. to PBM, and from PBM to most raster formats.  You'd use the pbmtog3
  442. and g3topbm utilities in mgetty to convert between PBM and G3.
  443.  
  444. In essence, you can run with hp2pbm or PBMPLUS alone.  With GhostScript,
  445. you also need PBMPLUS or hp2pbm to convert ASCII (used for page headers
  446. etc.) to G3.
  447.  
  448. For voice you need no other software, although utilities to convert to
  449. and from the ZyXEL voice format can be handy.  This is especially true
  450. if you have audio output available besides the modem itself.
  451.  
  452. mgetty+sendfax includes some ZyXEL voice processing utilities in the
  453. voice/ subdirectory.  These can translate ZyXEL voice files to and
  454. from Sun-AU (/dev/audio), Soundblaster, some other formats.
  455.  
  456. ------------------------------
  457.  
  458. Subject:  What terms cover my use of mgetty+sendfax/vgetty?
  459.  
  460. >From the distribution:
  461.  
  462. "The mgetty+sendfax package is Copyright (c) 1993 Gert Doering. You
  463. are permitted to do anything you want with this program -
  464. redistribute it, use parts of the code in your own programs, ...,
  465. but you have to give me credit - do not remove my name.
  466.  
  467. "If the program works for you, and you want to honour my efforts,
  468. you are invited to donate as much as you want.
  469.  
  470. "If you make money with mgetty, I want a share. What I mean by that
  471. is: it's perfectly OK with me to get paid for mgetty installation
  472. or support, but if you want to actually sell mgetty, or pack mgetty
  473. with a modem and sell it as "unix fax package", contact me first.
  474.  
  475. "*WARNING:* This package is still BETA software. Use it at your own
  476. risk, there is *no* warranty. If it erases all the data on your
  477. hard disk, damages your hardware, or kills your dog, that is
  478. entirely your problem. Anyway, the program works for me and quite a
  479. lot of other people."
  480.  
  481. ------------------------------
  482.  
  483. Subject:  Where can I get mgetty+sendfax?
  484.  
  485. The official release sites are these URLs:
  486.  
  487.   ftp://sunsite.unc.edu/pub/Linux/system/Serial/mgetty+sendfax*
  488.   ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/... (or so)
  489.  
  490. You can certainly find them elsewhere.  The last time this paragraph
  491. was updated, the most recent full release was 0.22.
  492.  
  493. The most recent _test_ release is generally available at this URL:
  494.  
  495.    ftp://ftp.informatik.tu-muenchen.de:/tmp/mgetty*.tar.gz
  496.  
  497. ------------------------------
  498.  
  499. Subject: Part 2: Other questions
  500.  
  501. ------------------------------
  502.  
  503. Subject:  How can I contact mgetty users and developers?
  504. From: steve@work.bellingham.wa.us
  505.  
  506. (Suggested by Steve Wampler)
  507.  
  508. A mailing list exists.  To subscribe to the list, send mail to
  509. mgetty-request@muc.de (I believe the list is maintained by hand, so
  510. you'll need to ask to join.)  To send mail to every one of the dozens
  511. of people on the list, send to mgetty@muc.de.  DON'T send subscription
  512. requests to mgetty@muc.de -- many people will write back telling you
  513. to use mgetty-request for administrative messages.
  514.  
  515. The volume on mgetty@muc.de varies from one or two messages a week to
  516. ten or so a day, depending on development activity.
  517.  
  518. ------------------------------
  519. Subject:  What image file formats can sendfax send?
  520. From:    gert@greenie.muc.de (Gert Doering)
  521.  
  522. Fax input format:
  523.  
  524.    raw G3 data (according to CCITT standard T.4, 1-dimensionally
  525.    compressed). Can be created by GhostScript's "dfaxhigh" or "dfaxlow"
  526.    drivers (they will create raw G3 data with a 64 byte header, that
  527.    sendfax + g3cat + g3topbm will recognize and skip) or by the "pbmtog3"
  528.    program.
  529.    Warning: the pbmtog3 program from the "pbmplus" distribution does *not*
  530.    create valid G3 data according to T.4, to be precise, the lines are
  531.    shorter than 1728 pixels and the leading EOL code is missing. To fix
  532.    it, use the patch that is provided in "patches/pbmtog3.p1". Even
  533.    better, use my own utility. (The patch is *NOT* needed for my pbmtog3
  534.    program!).
  535.    Use of a unpatched pbmtog3 will most likely cause +FHNG:50 or +FHNG:54
  536.    error codes.
  537.  
  538.    Do not use "tiff-G3" data as input. Though the data itself is G3 encoded,
  539.    it's wrapped into a complex layer of TIFF headers that would
  540.    require non-trivial parsing that's simply not needed for sendfax.
  541.    Faxing a TIFF file will result in a warning message from sendfax, and,
  542.    most likely, in a failed transmission.
  543.  
  544.  
  545. Fax output format:
  546.  
  547.    The files that mgetty places into FAX_SPOOL_IN are in the same format
  548.    as the files that sendfax wants to send, raw G3 data as of CCITT T.4.
  549.    To convert them to "pbm", use the g3topbm program. To convert them to
  550.    X-Windows xwd format, use the "contrib/g3toxwd" program.
  551.  
  552.    If the files are received without transmission errors, it is possibly
  553.    to send received fax files without any additional conversion. Since
  554.    some modems insert filling zero-bits, a run through "g3cat" is
  555.    recommended anyway, this will remove any surplus stuff, and clean up
  556.    garbled lines.
  557.  
  558. ------------------------------
  559.  
  560. Subject:  Why doesn't mgetty accept other file formats besides G3?
  561.  
  562. Why does mgetty only send raw G3 fax files, instead of converting
  563. arbitrary image files (like TIFF) on the fly?
  564.  
  565. >From Chris Lewis:
  566.  
  567. "As I understand it, in addition to its own formats, TIFF can encapsulate
  568. some number of other formats.  Put another way, TIFF is, at least to some
  569. extent, simply a way of getting magic numbers into other formats so that
  570. TIFF-capable converters can handle multiple formats transparently.
  571.  
  572. "Yes, you certainly can have TIFF encapsulate a G3, and mgetty wouldn't
  573. have much trouble with that.  However, that leaves you with the question -
  574. what does mgetty do if it's not a G3 that's been encapsulated?  It
  575. would have to convert it.  And then we would encounter situations where
  576. mgetty's conversion speeds couldn't meet the class II FAX transmission
  577. timeouts, and you've wasted telephone time...  Ditto on reception.  Indeed,
  578. there is a real possibility that mgetty would not be able to keep up
  579. if the input or output file was anything other than a G3.
  580.  
  581. "Approaching this from another viewpoint, we should also remember that
  582. mgetty is a transfer protocol and implementation.  *Not* conversion
  583. software.  mgetty needs to read and write G3s, and that's all.  Leave
  584. conversions to other software."
  585.  
  586. And from Gert Doering:
  587.  
  588. "Well, TIFF is a very complex file format, that can support dozens of
  589. different page data encodings, different byte / bit orderings,
  590. multiple pages per file, and so on.  While TIFF is a flexible format,
  591. parsing it is a complex task.
  592.  
  593. "In contrast, mgetty's "g3" files are raw G3 data. No headers, no
  594. formatting, no need for the transmission code to dig around in the file
  595. to find the actual page data.  One page per file, simplest possible.
  596.  
  597. "Ignoring TIFF (leaving TIFF conversions to outside software)
  598. simplifies mgetty and sendfax enormously, but doesn't complicate the
  599. user interface much, as long as "faxspool" or similar tools are used
  600. that will hide the internals, that is, how the fax backend expect its
  601. data, from the user. To be precise, leaving out TIFF support
  602. *simplifies* mgetty.  Many Unix programs can read pbm and converting
  603. g3 -> pbm is very easy, while I haven't seen a good *multipage*-Tiff -
  604. to - PBM converter yet."
  605.  
  606. ------------------------------
  607.  
  608. Subject:  Why doesn't mgetty use the modem's autoanswer capabilities?
  609.  
  610. 1. Because it isn't possible to distinguish a fax from a data call if you
  611. don't have full modem control. Besides, it will make sure that the modem
  612. doesn't answer the phone while the host isn't ready for it.
  613.  
  614. 2. And callerid won't work without extreme difficulty.
  615.  
  616. ------------------------------
  617.  
  618. Subject:  Why mgetty ignores /dev/tty* dialin, /dev/cua* dialout conventions:
  619.  
  620. >From gert@greenie.muc.de (Gert Doering):
  621.  
  622. The two-device scheme is meant to prevent multiple processes from
  623. accessing the same physical device at the same time. Since mgetty
  624. opens the port with O_NDELAY, the kernel sees a process on tty*
  625. (mgetty) and prevents any open() on cua* (uucico, cu, ...).  So, you
  626. have to use the same device for both program types; under Linux,
  627. that's tty*, and under SunOS & Solaris that's cua*.
  628.  
  629. >From rj@rainbow.in-berlin.de (Robert Joop):
  630.  
  631. Under Sun's OS, if the computer is down or /dev/ttya isn't opened, DTR
  632. isn't asserted and the modem won't pick up.  The kernel lets an
  633. open(2) call to /dev/ttya return only when DCD becomes active and cua0
  634. isn't being used.
  635.  
  636. For the reason explained by Gert, mgetty takes over the task of the
  637. sun kernel and has to use /dev/cua?.  To avoid collisions with
  638. dial-out programs, it follows uucp locking conventions.
  639.  
  640. The relevant lines from a Sun /etc/ttytab:
  641. #ttya   "/usr/etc/getty zyxel.38400"    vt100         on  # modem line
  642. cua0    "/usr/local/bin/vgetty -n 6 -x 9 cua0"  vt100 off # modem line
  643.  
  644. This all applies to sunos4/solaris1, sunos5/solaris2 probably differs
  645. substantially.
  646.  
  647. ------------------------------
  648.  
  649. Subject:  Troubleshooting questions & answers
  650. From: gert@greenie.muc.de
  651.  
  652. Q: I keep getting the error code +FHNG:50 or +FHNG:54 after sending a
  653.    page. Sometimes it says "page bad, retrain requested" and infinitely
  654.    resends the page.
  655.  
  656. A: This error means that something went wrong between the two machines,
  657.    while your end was sending the page data. In the case of +FHNG:50 or
  658.    +FHNG:54, the other end most likely simply hung up (so your modem
  659.    couldn't get any page transfer status at all), in the other case, the
  660.    receiver complained that it didn't like the data on the page.
  661.  
  662.    The most common reason for this behaviour is that you used a copy
  663.    of ``pbmtog3'' that came from the ``pbmplus'' distribution and doesn't
  664.    have my patch included (Mind you, the pbmtog3 program is required for
  665.    the page headers that faxspool puts on top of each page!).
  666.  
  667.    If that is not the reason, there may be flow control problems, or the
  668.    line have simply has been very noisy, or so. Get in touch with the
  669.    receiver, and find out whether the page looks good or whether there are
  670.    lines missing, others corrupted, ... - if there are errors, check your
  671.    flow control setting.
  672.  
  673.    If there are no errors whatsoever, and you're sure that you use my
  674.    version of pbmtog3 or a patched version of pbmplus', then I'm out of
  675.    wits - something's broken in the modem. Maybe you should upgrade your
  676.    ROM version.
  677.  
  678.  
  679. Q: When receiving faxes, I get the +FCON message logged, then mgetty says
  680.    "starting fax receiver". fax_wait_for(OK) is called, logs some random
  681.    junk bytes, and gives up after a minute, complaining about "timeout".
  682.  
  683. A: Most likely, you have a modem that switches baud rate to 19200 bps
  684.    right after sending the +FCON message to the host, and the normal port
  685.    speed is something else. Check policy.h whether FAX_RECEIVE_USE_B19200
  686.    is defined, and change the setting (if the modem does *not* change
  687.    speed, but the define is *set*, the effect will be similar).
  688.  
  689.  
  690. Q: I keep changing values in policy.h, but nothing changes.
  691.  
  692. A: maybe you've had an older version of mgetty installed to
  693.    /usr/local/bin/mgetty and are calling this from /etc/init? Newer
  694.    versions are installed in /usr/local/sbin/mgetty. Check the time
  695.    stamp on the mgetty you just compiled vs. the mgetty listed in
  696.    /etc/inittab.
  697.  
  698.  
  699. Q: Half of the faxes that I receive are too short, they look as if every
  700.    second pixel line is missing.
  701.  
  702. A: Well, they *are* short: most likely, they are received in normal
  703.    resolution (204x98 dpi) instead of fine resolution (204x196 dpi). You
  704.    can see it in the filename, if it starts with "ff*", it's fine, if it
  705.    starts with "fn*", it's normal resolution. To ``stretch'' a normal
  706.    resolution fax to proper proportions, use ``g3topbm -stretch fn...''
  707.  
  708.  
  709. Q: when upgrading from mgetty 0.19 (or before) to mgetty 0.20, my
  710.    ``mgetty.login'' configuration file doesn't work anymore.
  711.  
  712. A: Yes, the format has changed. Because of this, and to avoid confusions,
  713.    I'v renamed the LOGIN_CFG_FILE to ``login.config''. Read the sample
  714.    file that I provide for explantations how the configuration works.
  715.  
  716.    Do not fiddle with the ``uid'' and ``utmp'' fields unless you
  717.    understand what they're for.
  718.  
  719.  
  720. Q: login complains with ``no utmp entry, must execute login from the
  721.    lowest level sh''
  722.  
  723. A: I *told* you not to fiddle with the ``utmp'' field... - most likely,
  724.    in your ``login.config'' file, the utmp field for the entry calling
  725.    /bin/login isn't "-".
  726.  
  727.    Another reason could be a faulty /etc/init (hits only Linux users) or a
  728.    corrupted /etc/utmp file. In that case, reboot your machine.
  729.  
  730. Q: When mgetty is running and I dial out, I do not get "CONNECT" but only
  731.    junk, as "+FCO", "+FTI:", "+FHS:20"
  732.  
  733. A: Well, yes, that's a problem with the 2.0 implementation in mgetty. That
  734.    is: while mgetty is running, the modem is in "AT+FCLASS=2.0" mode and
  735.    expects to connect to a fax on the remote side. (With class 2, we
  736.    worked around this by setting +FCLASS=0;+FAA=1, but that will make the
  737.    modem answer in class 2, not 2.0 [subject to further testing!])
  738.  
  739.    Solution: in the program dialing out, initialize the modem with
  740.    "AT+FCLASS=0".  Most likely, a modem reset (ATZ) will also help.
  741.  
  742. Q: vgetty and zplay don't work, I can't record or play back messages.
  743.    I'm using mgetty 0.20 and ZyXEL 6.10 ROMs, the log file shows that
  744.    `+VIT=60' produces `no carrier'.
  745.  
  746. A: (Klaus Weidner, klaus@snarc.greenie.muc.de): My fault, I'm
  747.    sorry. `+VIT=60' is only supported by ROMs >=6.11.  Please remove
  748.    it from the two places it occurs in voclib.c, or get the latest
  749.    test release from ftp.informatik.tu-muenchen.de:/tmp, or get 6.12
  750.    ROMs.
  751.  
  752. Q: every time mgetty starts up, the permissions of my tty device get
  753.    changed and I have to issue "chmod +w /dev/ttySx" to be able to
  754.    dial out.
  755.  
  756. A: that's not a bug, that's a feature. You don't *want* to allow anybody
  757.    using your machine to be able to dial out (think of your phone costs!),
  758.    so it's a security issue.
  759.    If you *want* to allow dialout for everyone, #define FILE_MODE 0666
  760.    in policy.h. I would not recommend it, I would give access to a
  761.    special group, and put every one that may dial out into this group.
  762.  
  763. Q: I have a Linux system, and while trying to dial out on /dev/cua1
  764.    (mgetty is running on /dev/ttyS1), it says "device busy" (EBUSY)???
  765.  
  766. A: use the same device (always!!) for dial-in and dial-out.
  767.    On Linux, use /dev/ttySx, on SunOS and *BSD use /dev/cuax.
  768.  
  769. Q: If I create a fax file with "gs -sDEVICE=dfaxhigh ..." and send it with
  770.    sendfax, everything works *great*. If I run it through "faxspool", the
  771.    receiving side reports an error. Is the "g3cat" program broken?
  772.  
  773. A: No, g3cat isn't the problem. The real problem is "pbmtog3", and I bet
  774.    you have the pbmtog3 program from the pbmplus distribution installed.
  775.    This program is *broken* (patch is in mgetty/patches/pbmtog3.p1), that
  776.    is, it doesn't create proper T.4/G3 fax data. Thus, the receiving fax
  777.    machine will get a fax that has some corrupt lines (the page header)
  778.    and will complain about it.
  779.    Patch pbmtog3, or use mgetty's. It's faster anyway.
  780.  
  781. Q: mgetty doesn't accept FidoNet calls. I get log entries like this:
  782.  
  783.      10/30 01:54:54 ##### data dev=ttyS1, pid=3401, caller=none,
  784.      conn='38400/V32b 14400/V42b', name='', cmd='/bin/login',
  785.      user='**EMSI_INQC816**EMSI_INQC816q.'
  786.  
  787.    or this:
  788.  
  789.      10/30 05:31:03 ##### data dev=ttyS1, pid=7238, caller=none,
  790.      conn='38400/ZyX  16800/V42b', name='', cmd='/bin/login', user='q.q.q.'
  791.  
  792. A: did you compile mgetty with -DFIDO defined? I don't think so. If
  793.    -DFIDO isn't set, mgetty doesn't know about fido.
  794.  
  795. Q: Some of my programs use binary lockfiles and some use ASCII
  796.    lockfiles.  Why does mgetty complain?  Can't it recognize both?
  797.  
  798. A: Mgetty complains because your system configuration is _wrong_.
  799.    These error messages are there to help the system administrator
  800.    notice a *severe configuration error* on his site.
  801.  
  802.    If all programs would understand both types of Locking, the
  803.    messages would be silly, but since kermit usually simply ignores
  804.    ascii locks, and uucico does so for binary locks, the situation is
  805.    *highly* error-prone, and sysadmins should *SEE* this.
  806.  
  807.    Recompile your applications that use the modem so that all agree on
  808.    the lockfile types.
  809.  
  810. ------------------------------
  811.  
  812. Subject:  My ZyXEL doesn't work right after a ROM upgrade: What's wrong?
  813. From: felix@escape.vsse.in-berlin.de
  814.  
  815. Do a full modem reset after upgrading the firmware. This is not
  816. described in the German ZyXEL manual (is it described in the
  817. English one?) but should be done in any case.
  818.  
  819. ------------------------------
  820.  
  821. Subject: Why the occasional "tcsetattr failed: I/O error" message?
  822. From: gert@greenie.muc.de
  823.  
  824. Q: Occasionally, mainly after "clean" user logouts (that is, the user
  825.    typed "exit" instead of just hanging up), I get the message
  826.     09/08 21:26:26 yS2  lowering DTR to reset Modem
  827.     09/08 21:26:27 yS2  tcsetattr failed: I/O error
  828.    in the mgetty log file, and a similar I/O error message in the syslog
  829.    file.
  830.  
  831. A: Well, this is a Linux and SunOS specific problem: if the modem is still
  832.    connected to the other end when mgetty starts, mgetty will force it to
  833.    hangup by lowering DTR (and sending +++ATH, in case DTR drop won't
  834.    suffice).  This will make the modem lower the DCD (carrier detect)
  835.    line.  Unfortunately, this will trigger a security mechanism in the
  836.    Linux kernel, which will prevent all further access via that file
  837.    descriptor.  This is done to prevent one well-known password hack
  838.    (I won't that explain in detail).
  839.  
  840.    Mgetty knows about that problem, and, upon noticing an error at this
  841.    point during modem initialization, will simply reopen the port and
  842.    redo all modem / port setup stuff.
  843.  
  844.    Because suppressing that error message would be messy, it keeps
  845.    appearing, but it is harmless (... "trying again").
  846.  
  847. ------------------------------
  848.  
  849. Subject: Part 3: Compatibility Issues
  850.  
  851. ------------------------------
  852.  
  853. Subject:  modems.db -- modem compatibility list
  854. From: gert@greenie.muc.de
  855.  
  856. OK, here's the current (22 June 1994) modems.db:
  857. ----------------------------------------------------
  858. Modem brand/model:     "Dynalink 9624AP"
  859. at+fmfr?        EXAR
  860. at+fmdl?        9648,2,E,290X
  861. at+frev?        10, 10, 92   REVISION  X 2.0
  862. ati3            ADN-06
  863. ati4            MARROW 2900KSX V2.0B 11-05-1992
  864. tested on:        linux 0.99p10
  865. working:        sendfax, mgetty(?)
  866. remarks: avoid this cheap and nasty modem if you possibly can. It needs:
  867.          delay(500) at the end of fax_open_device(), sendfax.c line 111
  868.          delay(500) after the call to fax_send_page(), sendfax.c line 533
  869.          "\d\d\d" in all the AT-commands in init_chat_seq, mgetty.c
  870. contributor:        a.j.scholl@durham.ac.uk
  871. #define DATA_FLOW    FLOW_HARD
  872. #define FAXREC_FLOW    FLOW_HARD | FLOW_SOFT
  873. #define FAXSEND_FLOW    FLOW_HARD 
  874. #define FAX_SEND_BAUD     B19200
  875. #define FAX_MODEM_HANDSHAKE ""
  876. #define FAX_SET_CSTOPB    1        /* for when you've added this option :-) */
  877. ----------------------------------------------------
  878. Modem brand/model:     "Zoltrix Platinum Series 14.4"
  879. at+fmfr?        ROCKWELL
  880. at+fmdl?        RC32ACL
  881. at+frev?        V1.410-AP39
  882. ati3            
  883. ati6            RCV144DP; Rev CA
  884. tested on:        linux 0.99p7
  885. working:        mgetty, sendfax
  886. remarks:                great modem! In my uucp network of 16 machines,
  887.             this modem averages at 1700 bps, while other
  888.             brand name modems such as the Trailblazer PEP
  889.             maxes out at about 1570. 
  890. contributor:        whome!light-house!las@planix.com
  891. #define DATA_FLOW    FLOW_HARD
  892. #define FAX_COMMAND_DELAY 50
  893. #define FAXREC_FLOW    FLOW_SOFT
  894. #define FAXSEND_FLOW    FLOW_SOFT
  895. #define FAX_SEND_BAUD B38400
  896. #define FAX_MODEM_HANDSHAKE "&K3"
  897. #define MODEM_INIT_STRING    "ATS0=0V1Q0&D3&K3%C1W1"
  898. ----------------------------------------------------
  899. Modem brand/model:      PCMCIA Modem HOTLINE 960 CC HL9672CC
  900. AT+FMFR?                HOTLINE
  901. AT+FMDL?                Handy 9672 CC
  902. AT+FREV?                Version 1.03H
  903. ATI3                    V1.03DP
  904. ATI4                    Handy 9672 CC H1_103
  905. AT+FDCC=?               (0,1),(0-3),(0-2),(0-2),(0,1),0,0,(0-7)
  906. tested on:              OS: Linux, Kernel: 1.0, Distribution: Slackware 1.2.0
  907.             Computer: Toshiba T4700C Notebook
  908. working:                sendfax, mgetty
  909. contributor:            lauther@zfe.siemens.de
  910. remarks:                can only do 9600 bps
  911.  
  912. #define DEFAULT_PORTSPEED       B19200
  913. #define MODEM_INIT_STRING       "ATS0=0Q0&D3&K3"
  914. #define MODEM_CMD_SUFFIX        "\r"
  915. #define DO_CHAT_SEND_DELAY      50
  916. #define FAX_COMMAND_DELAY       50
  917. #define DATA_FLOW               FLOW_HARD
  918. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  919. #define FAXSEND_FLOW            FLOW_HARD | FLOW_SOFT
  920. #define FAX_SEND_BAUD           B19200
  921. #define FAX_MODEM_HANDSHAKE     "&K3"
  922. ----------------------------------------------------
  923. Modem brand/model:      Creatix (1&1) Polimedia 14400 voice / fax modem
  924. AT+FMFR?                ???
  925. AT+FMDL?                ???
  926. AT+FREV?                ???
  927. ATI0            14400
  928. ATI1            007
  929. ATI3            V1.400/T4-DS29F
  930. ATI4            Creatix Polymedia GmbH V1.41 29/11/93
  931. ATI6            RCV144DPi Rev CA
  932. AT+FDCC=?               (0,1),(0-5),(0-2),(0-2),(0,1),0,0,(0-7)
  933. tested on:              ???
  934. working:                sendfax, mgetty
  935. contributor:            andreas@malcolm.in-chemnitz.de
  936.  
  937. #define DEFAULT_PORTSPEED    B38400
  938. #define MODEM_INIT_STRING    "ATS0=0Q0&D3&K3"
  939. #define MODEM_CMD_SUFFIX    "\r"
  940. #define DO_CHAT_SEND_DELAY    50
  941. #define FAX_COMMAND_DELAY    50
  942. #define DATA_FLOW           FLOW_HARD
  943. #define FAXREC_FLOW         FLOW_HARD | FLOW_SOFT
  944. #define FAXSEND_FLOW        FLOW_HARD | FLOW_SOFT
  945. #define FAX_RECEIVE_USE_B19200
  946. #define FAX_SEND_BAUD         B19200
  947. #define FAX_MODEM_HANDSHAKE    "&K6"
  948. ----------------------------------------------------
  949. Modem brand/model:      Practical Peripherals PM14400FXMT
  950. at+fmfr?                2.42 (c) Practical Peripherals Inc. 1993.
  951. at+fmdl?                PM14400FMXT [6R4] 2.42
  952. at+frev?                Version 2.42
  953. ati3                    PM14400FMXT [6R4] Version 2.42 (c) Practical Peripherals Inc. 1993.
  954. ati4                    a097840F284C6703F
  955.                         bC60004000
  956.                         r1001111171012000
  957.                         r3000111010000000
  958. tested on:              Linux 1.0 (Slackware 1.2.0)
  959. working:                sendfax, mgetty
  960. remarks:                Good modem; can handle ALL incoming data calls at all
  961.                         speeds, plus *MOST* incoming FAXes (some paper
  962.                         machines give +FHNG:100 @ 2400 baud).  Good manual,
  963.                         but (like others, no +F commands listed.  My guess is
  964.                         about 75% Class 2 commands implemented.
  965. contributor:            paul@edgewood.portland.or.us
  966. #define DEFAULT_PORTSPEED       B38400 /* 57600 w/ 'setserial spd_hi' */
  967. #define FAX_RECEIVE_USE_19200
  968. #define FAX_SEND_BAUD           B19200
  969. #define DATA_FLOW               FLOW_HARD
  970. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  971. #define FAXSEND_FLOW            FLOW_HARD | FLOW_SOFT
  972. #define FAX_MODEM_HANDSHAKE ""
  973. #define MODEM_INIT_STRING       "\\dATM0S0=0Q0&C1&D2&K3&Q5"
  974. ---------------------------------------------------
  975. Modem brand/model:      "ZyXEL 1496 E+"
  976. at+fmfr?                ZyXEL
  977. at+fmdl?                U1496E  V 6.12 P
  978. at+frev?                U1496E  V 6.12 P
  979. ati            1496
  980.  
  981. tested on:              DEC OSF/1 v1.2-hybrid
  982.             SCO Unix ODT 3.0
  983.             Linux (various)
  984. working:                sendfax, mgetty, vgetty
  985. contributor:            Marc@Synergytics.Com
  986. #define DATA_FLOW       FLOW_HARD
  987. #define FAXREC_FLOW     FLOW_HARD | FLOW_SOFT
  988. #define FAXSEND_FLOW    FLOW_HARD | FLOW_SOFT
  989. #define FAX_SEND_BAUD   B38400
  990. #define FAX_MODEM_HANDSHAKE "&H3"
  991. #define MODEM_INIT_STRING "ATS0=0Q0&D3&H3&N0&K4"
  992. ---------------------------------------------------
  993. Modem brand/model:      ZyXEL U1496EG+ 
  994. AT+FMFR?                ZyXEL
  995. AT+FMDL?                U1496EG V 6.12 P 
  996. AT+FREV?        U1496EG V 6.12 P 
  997. ATI3            (OK)
  998. ATI4                    (OK)
  999. AT+FDCC=?         (0,1),(0-5),(0-2),(0-2),(0-1),(0),(0),(0-7)
  1000. tested on:              AIX 3.2.5
  1001. working:                sendfax, mgetty (both 0.20)
  1002. contributor:            hm@ix.de
  1003. remarks:                
  1004.  
  1005. #define DEFAULT_PORTSPEED       B38400
  1006. #define MODEM_INIT_STRING       "ATL0S0=0Q0&D3&H3&N0&K4"
  1007. #define MODEM_CMD_SUFFIX        "\r"
  1008. #define DO_CHAT_SEND_DELAY      50
  1009. #define FAX_COMMAND_DELAY       50
  1010. #define DATA_FLOW               FLOW_HARD
  1011. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  1012. #define FAXSEND_FLOW            FLOW_SOFT
  1013. #define FAX_SEND_BAUD           B38400
  1014. #define FAX_MODEM_HANDSHAKE     "&K3"
  1015.  
  1016. ---------------------------------------------------
  1017.  
  1018. Modem brand/model:      GVC GM-144VBIS+
  1019. AT+FMFR?                EXAR
  1020. AT+FMDL?                9648,2,E,290X
  1021. AT+FREV?        GM-144VBIS+; RC9696/14
  1022. ATI3            170
  1023. ATI4                    GM-144VBIS+; RC9696/14
  1024. AT+FDCC=?         (0-1),(0-3),(0-3),(0-2),(0-2),(0),(0),(0-7)
  1025. tested on:              AIX 3.2.5
  1026. working:                mgetty-0.20 
  1027. contributor:            hm@ix.de
  1028. remarks:                (sendfax is not tested and not intended to)
  1029.  
  1030. #define DEFAULT_PORTSPEED       B38400
  1031. #define MODEM_INIT_STRING       "ATL0S0=0Q0&D3\\\\Q3&S0%C\\\\N6"
  1032. #define MODEM_CMD_SUFFIX        "\r"
  1033. #define DO_CHAT_SEND_DELAY      50
  1034. #define FAX_COMMAND_DELAY       50
  1035. #define DATA_FLOW               FLOW_HARD
  1036. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  1037. #define FAXSEND_FLOW            FLOW_SOFT
  1038. #define FAX_SEND_BAUD           B38400
  1039. #define FAX_MODEM_HANDSHAKE     "\\\\Q3&S0"
  1040.  
  1041. ----------------------------------------------------
  1042. Modem brand/model:     "Aceex 1496"
  1043. at+fmfr?        EXAR
  1044. at+fmdl?        9624,2,E,290E
  1045. at+frev?        Sep-24-1991
  1046. ati3            
  1047. ati6            V.110 APR-30-1993 (ROCKWELL CHIP SET)
  1048.             DM1414/2A/RC144DP-21/PCB:490-09636-xx
  1049.             BZT POSTZULASSUNG-FIRMWARE VERSION:V.105
  1050. tested on:        SVR4.2 (UnixWare 1.1.1)
  1051. working:        mgetty, sendfax
  1052. remarks:                fax send / receive with max. 19200 bd
  1053.             This german telekom approved modem doesn't allow
  1054.             ATA without an incoming call (real RING). So
  1055.             kill -USR1 <mgetty-pid>  doesn't work. 
  1056. contributor:        100272.3376@compuserve.com (Achim Buerger)
  1057. #define DATA_FLOW    FLOW_HARD
  1058. #define FAX_COMMAND_DELAY 50
  1059. #define FAXREC_FLOW    FLOW_HARD | FLOW_SOFT
  1060. #define FAXSEND_FLOW    FLOW_HARD | FLOW_SOFT
  1061. #define DEFAULT_PORTSPEED B19200
  1062. #define FAX_SEND_BAUD    B19200
  1063. #define FAX_MODEM_HANDSHAKE    "\\Q3&S0"
  1064. #define MODEM_INIT_STRING    "ATS0=0Q0&D3\\\\Q3%C1&N0&K3"
  1065. ----------------------------------------------------
  1066. Modem brand/model:      "Dago Speed" from Speedy Technology, Koenigstein
  1067. at+fmfr?                ROCKWELL
  1068. at+fmdl?                RC32AC-W
  1069. at+frev?                V1.15
  1070. ati3                    V1.15
  1071. ati4                    RC144DP
  1072. tested on:              linux 0.99p15, 486DX50, UART 16550A
  1073. mgetty version:         0.21
  1074. working:                sendfax, mgetty
  1075. remarks:                sendfax: works perfectly (about 50 multi-page
  1076.                         faxes sent without problems)
  1077.                         mgetty: my Dago does not always recognize
  1078.                         fax calls correctly, especially from some fax
  1079.                         machines, but fax calls from a Creatix modem
  1080.                         are *almost* always recognized correctly.
  1081.                         When a fax call is recognized correctly, mgetty
  1082.                         has no problems. Defining FAX_RECEIVE_USE_B19200
  1083.                         is necessary with my modem version.
  1084.                         Data calls are always recognized correctly
  1085.                         (tested with Creatix and Zyxel).
  1086. contributor:            schaefer@dfki.uni-sb.de (Ulrich Schaefer)
  1087. #define DEFAULT_PORTSPEED       B38400
  1088. #define DATA_FLOW               FLOW_HARD
  1089. #define FAXREC_FLOW             FLOW_HARD
  1090. #define FAXSEND_FLOW            FLOW_HARD
  1091. #define DO_CHAT_SEND_DELAY      100
  1092. #define FAX_COMMAND_DELAY       100
  1093. #define FAX_RECEIVE_USE_B19200
  1094. #define FAX_SEND_BAUD           B38400
  1095. #define FAX_MODEM_HANDSHAKE     "&K3"
  1096. #define MODEM_INIT_STRING       "ATS0=0V1Q0&D3&K3"
  1097.  
  1098. mgetty.c:  int toggle_dtr_waittime = 2000;   /* otherwise reset may fail */
  1099. -----------------------------------------------------------------------
  1100.  
  1101. Modem: SupraFax v.32bis
  1102. System Decstation 5000/200
  1103. OS:  Ultrix V4.2 (Rev. 96)
  1104.  
  1105.  
  1106. #define DEFAULT_PORTSPEED       B38400
  1107. #define MODEM_INIT_STRING  "AT&F2M0L0S0=0V1Q0&D3&K3%C1W1"
  1108. #define DEFAULT_MODEMTYPE "auto"
  1109. #define DO_CHAT_SEND_DELAY 50
  1110. #define FAX_COMMAND_DELAY 50
  1111. #define DATA_FLOW       FLOW_HARD
  1112. #define FAXREC_FLOW       FLOW_SOFT
  1113. #define FAXSEND_FLOW      FLOW_SOFT
  1114. #define FAX_RECEIVE_USE_B19200
  1115. #define FAX_SEND_BAUD B19200
  1116. #define FAX_MODEM_HANDSHAKE "&K4"
  1117. #define FAX_SEND_IGNORE_CARRIER
  1118. at+fmfr? ROCKWELL
  1119. at+fmdl? V.32AC
  1120. at+frev? V1.71-02 TR14-Jxxx-001
  1121. ati3  V1.71-02 TR14-Jxxx-001 225
  1122. ati5 (c) 1992,93 Supra Corporation
  1123. -----------------------------------------------------------------------
  1124. Modem brand/model:    Holmes Fax'em 96/24
  1125. AT+FMFR?        EXAR
  1126. AT+FMDL?          9648,2,E,290X
  1127. AT+FREV?          9/30/91 9.10 E  + V.23 REVISION 2.1D3
  1128. ATI3             9/30/91 9.10 E  + V.23 REVISION 2.1D3
  1129. ATI4             9/30/91 9.10 E  + V.23 REVISION 2.1D3
  1130. AT+FDCC=?          (0,1),(0-3),(0-3),(0-2),(0-2),(0),(0),(0-7)
  1131. tested on:        OS: Linux, Kernel: 0.99pl13, Distribution: Slackware 1.1.2
  1132.             Computer: Compaq LTE Lite/25c Notebook
  1133. remarks:        introduce additional delays as mentioned in the
  1134.             mgetty-documentation
  1135. working:            sendfax, mgetty
  1136. contributor:        lauther@zfe.siemens.de
  1137. #define DEFAULT_PORTSPEED    B19200
  1138. #define MODEM_INIT_STRING    "ATS0=0Q0&D3&H3&N0&K4"
  1139. #define MODEM_CMD_SUFFIX     "\r"
  1140. #define DO_CHAT_SEND_DELAY     50
  1141. #define FAX_COMMAND_DELAY     50
  1142. #define DATA_FLOW        FLOW_HARD
  1143. #define FAXREC_FLOW        FLOW_HARD | FLOW_SOFT
  1144. #define FAXSEND_FLOW        FLOW_HARD | FLOW_SOFT
  1145. #define FAX_SEND_BAUD       B19200
  1146. #define FAX_MODEM_HANDSHAKE     ""
  1147. -----------------------------------------------------------------------
  1148.  
  1149. ------------------------------
  1150.  
  1151. Subject:  Suspicious fax machines
  1152. From: hm@ix.de (Harald Milz)
  1153.  
  1154. I'm collecting all data concerning suspective fax
  1155. machines, i.e. those which made problems in cooperating
  1156. with sendfax. The main reason is to find out whether
  1157. there are specific fax machines that refuse to work
  1158. with sendfax and/or your fax modem. As a goal, we will
  1159. be able to track down the bug(s). 
  1160.  
  1161. To contribute, please fill in the following template
  1162. and send it to me (hm@ix.de):
  1163.  
  1164. 1. <fax machine's brand and model>
  1165. 2. <corresponding fax number> (optional)
  1166. 3. <fax modem brand and model>
  1167. 4. <fax modem's firmware revision>      # tbd from ATI1
  1168. 5. <protocol parameters>        # tbd from Faxlog
  1169. 6. <errlog line from Faxlog>        # tbd from Faxlog
  1170. 7. <remarks>
  1171.  
  1172. If you encounter problems with a fax machine, please
  1173. call the receiving party and ask them for their fax
  1174. machine's brand & model and if they are willing to
  1175. offer their machine for some (limited) testing. 
  1176.  
  1177. The more exact your data is (the first 3 entries aren't
  1178. too good :-} ), the better the result will be,
  1179. hopefully.
  1180.  
  1181. This list is posted once a month (automatically) and if
  1182. five new entries were added to it (manually).
  1183.  
  1184. Here's what's already in the list:
  1185.  
  1186.  
  1187.  
  1188. 1. Panasonic Panafax UF311
  1189. 2. +49 89 74824899
  1190. 3. ZyXEL U1496EG+
  1191. 4. U1496EG V 6.10g P
  1192. 5. +FDCS:1,3,0,2,0,0,0,4
  1193. 6. +FHNG:50 (Unspecified Transmit Phase D error)
  1194. 7. when sending 15 pg, connection broke after 6 pg. 
  1195.  
  1196.  
  1197. 1. NEC Nefax 17
  1198. 2. +49 2242 82114
  1199. 3. ZyXEL U1496EG+
  1200. 4. U1496EG V 6.10g P
  1201. 5. +FDCS:1,3,0,2,1,0,0,4
  1202. 6. +FHNG:50 (Unspecified Transmit Phase D error)
  1203. 7. machine didn't refuse when sending only 3 pages
  1204.    earlier. This time, 15 pg were sent.
  1205.  
  1206.  
  1207. 1. Telekom AF-310
  1208. 2. +49 7231 560851
  1209. 3. ZyXEL U1496 E / 6.10a, E+ / 6.01, E+ / 6.11a
  1210. 4. 
  1211. 5. +FDCS:1,3,0,2,0,0,0,4
  1212. 6. +FTPS:2 -> page bad, retrain requested
  1213. 7. sendfax hangs up after three tries.
  1214.    received fax shows black and white boxes at the
  1215.    footer, such as,
  1216.    ###   ###   ###   ###   ###
  1217.    ###   ###   ###   ###   ###  ...
  1218.    ###   ###   ###   ###   ###
  1219. -- 
  1220. Chris Lewis: _Una confibula non sat est_
  1221.